package com.yonyou.cyxdms.sysAuth.service.feign;

import com.yonyou.cyx.framework.bean.dto.framework.RestResultResponse;
import com.yonyou.cyxdms.framework.config.FeiginHeaderConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(name = "datacenter-service", configuration = FeiginHeaderConfig.class)
public interface DataCenterService {

    /**
     * 汽车之家新增顾问推送
     *
     * @return
     * @since zw
     */
    @GetMapping(value = "/clue/producerAddAdviser", produces = {"application/json;charset=UTF-8"})
    RestResultResponse  producerAddAdviser(@RequestParam(name = "queryParam") Map<String, Object> queryParam);
    

    /**
     * 汽车之家顾问修改推送
     *
     * @return
     * @since zw
     */
    @GetMapping(value = "/clue/producerUpdateAdviser", produces = {"application/json;charset=UTF-8"})
    RestResultResponse  producerUpdateAdviser(@RequestParam(name = "queryParam") Map<String, Object> queryParam);
    
    /**
     * 店铺默认接听电话配置接口
     *
     * @author zw
     * @date 2020年09月29日
     */
    @GetMapping(value = "/clue/delaultPhoneSet", produces = {"application/json;charset=UTF-8"})
    RestResultResponse delaultPhoneSet(@RequestParam(name = "queryParam") Map<String, Object> queryParam);
    
}
